package com.ztgf.message.model.dto;

import com.ztgf.common.utils.DateUtils;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description ：
 * @Author ： mx.li
 * @Date ： 2018/10/09 15:30
 */
@Data
public class ResponseDTO {
    private Long id;
    private int code = 0;
    private String msg = "成功！";
    @ApiModelProperty("0系统消息，1服务消息")
    private int messageType;
    @ApiModelProperty("消息id")
    private String messageId;
    @ApiModelProperty("传递的数据")
    private Object data;
    @ApiModelProperty("跳转类型")
    private int jumpType;
    private Object params;
    private String method;
    private String date = DateUtils.getCurrentDateTimeStr();
}
